package net.guerlab.sdk.anubis.request;

import net.guerlab.sdk.anubis.AnubisConstants;
import net.guerlab.sdk.anubis.entity.ChainStoreAddInfo;
import net.guerlab.sdk.anubis.response.ChainStoreAddResponse;

/**
 * 门店添加请求
 * 
 * @author guer
 *
 */
public class ChainStoreAddRequest extends AbstractBusinessRequest<ChainStoreAddResponse> {

    /**
     * 门店
     */
    private ChainStoreAddInfo chainStoreAddInfo;

    @Override
    protected void createRequestUri(
            StringBuilder builder) {
        builder.append(AnubisConstants.URL_CHAIN_STORE_ADD);
    }

    @Override
    protected Object getReuqestData() {
        return chainStoreAddInfo;
    }

    /**
     * 返回 门店
     *
     * @return 门店
     */
    public ChainStoreAddInfo getChainStore() {
        return chainStoreAddInfo;
    }

    /**
     * 设置门店
     *
     * @param chainStoreAddInfo
     *            门店
     */
    public void setChainStore(
            ChainStoreAddInfo chainStoreAddInfo) {
        this.chainStoreAddInfo = chainStoreAddInfo;
    }

}
